package cn.iocoder.yudao.module.handguard.controller.admin.product.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 产品管理 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ProductBaseVO {

    @Schema(description = "产品名称", example = "芋艿")
    private String productName;

    @Schema(description = "图标")
    private String iconStr;

    @Schema(description = "最高贷款额度")
    private BigDecimal maxAmount;

    @Schema(description = "年利息")
    private String annualInterest;

    @Schema(description = "贷款期限")
    private String loanTime;

    @Schema(description = "产品类型：1.按揭房信贷(抵押贷)\n" +
            "2.保单贷(信贷)\n" +
            "3.个人贴息贷款(信贷)\n" +
            "4.工薪贷(信贷)\n" +
            "5.公积金贷(信贷)\n" +
            "6.企业贴息贷款(信贷)\n" +
            "7.全款车按揭车信贷(抵押贷)\n" +
            "8.商业商住楼写字楼厂房一抵押(抵押贷)\n" +
            "9.商业商住楼写字楼二次抵押(抵押贷)\n" +
            "10.商业写字楼按揭贷款(抵押贷)\n" +
            "11.税贷(信用贷)\n" +
            "12.企业流水贷(信用贷)\n" +
            "13.企业发票贷(信用贷)\n" +
            "14.住宅按揭贷款(抵押贷)\n" +
            "15.住宅抵押(抵押贷)\n" +
            "16.住宅二次抵押(抵押贷 ", example = "2")
    private Integer productType;



    @Schema(description = "产品标签")
    private String productLable;

    @Schema(description = "产品介绍")
    private String productIntroduce;

    @Schema(description = "产品图片")
    private String productImg;

    @Schema(description = "帐号状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "帐号状态（0正常 1停用）不能为空")
    private Byte status;

    @Schema(description = "最低成数设置（X）")
    private BigDecimal portions;
    @Schema(description = "最高成数设置（Y）")
    private BigDecimal portionsTwo;

    //意思和成数一样，该字段暂时不用
    @Schema(description = "最低倍数设置")
    private BigDecimal multiple;
    //意思和成数一样，该字段暂时不用
    @Schema(description = "最高倍数设置")
    private BigDecimal multipleTwo;


    @Schema(description = "最高预估额度(展示使用)")
    private String ygMaxAmount;


    @Schema(description = "成数X1")
    private BigDecimal alternativePortionsOne;


    @Schema(description = "成数Y1")
    private BigDecimal alternativePortionsTwo;

}
